//
//  JSQShowImageViewController.h
//  Conversation
//
//  Created by C_HAO on 15/10/16.
//  Copyright © 2015年 CHAOO. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JSQShowZoomImageScrollView.h"
#import "JSQMessages.h"

@protocol JSQShowImageViewControllerDelegate <NSObject>

/**
 *  图片更多操作
 *
 *  @param viewController
 */
- (void)showImageViewMoreOperation:(UIViewController *)viewController showImage:(UIImage *)image;


@end

@interface JSQShowImageViewController : UIViewController

@property(nonatomic, weak) id <JSQShowImageViewControllerDelegate> delegate;

@property(nonatomic, assign) NSInteger index;

@property(nonatomic, strong) NSMutableArray *data;

@property(nonatomic, strong) JSQShowZoomImageScrollView *showImageView;


- (instancetype)initWithSourceData:(NSArray<JSQMessage *> *)data withIndex:(NSInteger)index;


@end
